// pages/fbdt/fbdt.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    screenWidth:"",
    screenHeight:"",
  },
  pos:function(){
    console.log(222)
  },
  onLoad: function (options) {
    var that = this;
    wx.getSystemInfo({
      success: function (res) {
        console.log(res)
        that.setData({
          screenWidth: res.screenWidth,
          screenHeight: res.screenHeight,
          
        })
      }
    })
  }
})